Skip to content

Conversation

vbvictor
Copy link
Contributor

@vbvictor vbvictor commented Oct 6, 2025

Based on #162007 (comment), we should avoid having short links in docker images.

@vbvictor vbvictor requested a review from a team as a code owner October 6, 2025 20:38
@llvmbot llvmbot added the libc++ libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi. label Oct 6, 2025
@llvmbot
Copy link
Member

llvmbot commented Oct 6, 2025

@llvm/pr-subscribers-libcxx

Author: Baranov Victor (vbvictor)

Changes

Based on #162007 (comment), we should avoid having short links in docker images.


Full diff: https://github.com/llvm/llvm-project/pull/162156.diff

3 Files Affected:

  • (modified) libcxx/utils/ci/Dockerfile (+1-1)
  • (modified) libcxx/utils/ci/docker-compose.yml (+2-2)
  • (modified) libcxx/utils/ci/vendor/android/Dockerfile.emulator (+1-1)
diff --git a/libcxx/utils/ci/Dockerfile b/libcxx/utils/ci/Dockerfile
index 8e1c341c10b92..d22deec4dadab 100644
--- a/libcxx/utils/ci/Dockerfile
+++ b/libcxx/utils/ci/Dockerfile
@@ -181,7 +181,7 @@ EOF
 #                       Android Builder Base Image
 # ===----------------------------------------------------------------------===##
 
-FROM ubuntu:jammy AS android-builder-base
+FROM docker.io/library/ubuntu:jammy AS android-builder-base
 
 ARG ANDROID_CLANG_VERSION
 ARG ANDROID_CLANG_PREBUILTS_COMMIT
diff --git a/libcxx/utils/ci/docker-compose.yml b/libcxx/utils/ci/docker-compose.yml
index e89623d2a847d..cac97a945b2a8 100644
--- a/libcxx/utils/ci/docker-compose.yml
+++ b/libcxx/utils/ci/docker-compose.yml
@@ -3,7 +3,7 @@ x-versions: &compiler_versions
   LLVM_HEAD_VERSION: 22
 
 x-image-versions: &image_versions
-  BASE_IMAGE: ubuntu:jammy
+  BASE_IMAGE: docker.io/library/ubuntu:jammy
   ACTIONS_BASE_IMAGE: ghcr.io/llvm/libcxx-linux-builder-base:77cb0980bcc2675b27d08141526939423fa0be76
 
 services:
@@ -33,7 +33,7 @@ services:
       dockerfile: Dockerfile
       target: android-buildkite-builder
       args:
-        BASE_IMAGE: ubuntu:noble
+        BASE_IMAGE: docker.io/library/ubuntu:noble
         ANDROID_CLANG_VERSION: r563880
         ANDROID_CLANG_PREBUILTS_COMMIT: 6ae4184bb8706f9731569b9a0a82be3fcdcb951c
         ANDROID_SYSROOT_COMMIT: f8b85cc5262c6e5cbc9a92c1bab2b18b32a4c63f
diff --git a/libcxx/utils/ci/vendor/android/Dockerfile.emulator b/libcxx/utils/ci/vendor/android/Dockerfile.emulator
index 6ce9b82d258eb..bd864f6db1975 100644
--- a/libcxx/utils/ci/vendor/android/Dockerfile.emulator
+++ b/libcxx/utils/ci/vendor/android/Dockerfile.emulator
@@ -6,7 +6,7 @@
 #
 # ===----------------------------------------------------------------------===##
 
-FROM ubuntu:jammy
+FROM docker.io/library/ubuntu:jammy
 
 RUN apt-get update && apt-get install -y \
     curl \

@vbvictor vbvictor changed the title [libc++] Use fully qualified names in docker images (NFC) [libc++][CI] Use fully qualified names in docker images (NFC) Oct 6, 2025
@vbvictor vbvictor merged commit 496d071 into llvm:main Oct 8, 2025
77 of 81 checks passed
svkeerthy pushed a commit that referenced this pull request Oct 9, 2025
Based on
#162007 (comment),
we should avoid having short links in docker images.
clingfei pushed a commit to clingfei/llvm-project that referenced this pull request Oct 10, 2025
akadutta pushed a commit to akadutta/llvm-project that referenced this pull request Oct 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

libc++ libc++ C++ Standard Library. Not GNU libstdc++. Not libc++abi.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants